/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gestionfiguras;

import figuras.*;

/**
 *
 * @author rivas
 */
public class GestionFiguras {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        Figura [] figura = new Figura[2];
        
        figura[0] = new Circulo(10f,15f,3f);
        figura[1] = new Rectangulo(10f,15f,3f,50f);
        
        cuadradoAbstracto micuadradoAbstracto = new cuadradoAbstracto(figura);
        System.out.println(micuadradoAbstracto.areaOcupada());
    }
}
